home *** CD-ROM | disk | FTP | other *** search
- // SSnowMan.h: Schnittstelle fⁿr die Klasse SSnowMan.
- //
- //////////////////////////////////////////////////////////////////////
-
- #if !defined(AFX_SSNOWMAN_H__E6F99CA1_D9A0_11D4_AF7D_0050DA829896__INCLUDED_)
- #define AFX_SSNOWMAN_H__E6F99CA1_D9A0_11D4_AF7D_0050DA829896__INCLUDED_
-
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
-
- #include <gl/glu.h>
-
- #include "STexture.h"
-
- class SSnowMan
- {
- public:
- void update(float frametime);
- void create();
- inline void setPosition(float xPos,float yPos, float zPos);
-
- SSnowMan();
- virtual ~SSnowMan();
- protected:
- float position[3];
- STexture schnee;
- STexture muetze;
-
- GLUquadricObj* object;
- GLUquadricObj* nase;
- float rotation;
- };
-
- void SSnowMan::setPosition(float xPos, float yPos, float zPos)
- {
- position[0] = xPos;
- position[1] = yPos;
- position[2] = zPos;
- }
-
-
- #endif // !defined(AFX_SSNOWMAN_H__E6F99CA1_D9A0_11D4_AF7D_0050DA829896__INCLUDED_)
-